package com.yty.newconsult.entity;


import lombok.Data;

import java.time.LocalDate;
import java.util.Date;
import java.io.Serializable;

/**
 * (DailyNews)实体类
 *
 * @author makejava
 * @since 2025-04-11 10:34:23
 */
@Data
public class DailyNews implements Serializable {
    private static final long serialVersionUID = 195109020691557677L;
    
    private Integer id;
    /**
     * 新闻标题
     */
    private String title;
    /**
     * 新闻时间
     */
    private LocalDate time;
    /**
     * 新闻来源
     */
    private String src;
    /**
     * 新闻分类
     */
    private String category;
    /**
     * 新闻图片
     */
    private String pic;
    /**
     * 新闻网址
     */
    private String url;
    /**
     * 原文pc网址
     */
    private String weburl;
    /**
     * 新闻内容（html）
     */
    private String content;
    public DailyNews() {
    }
    public DailyNews(String title, LocalDate time, String src, String category, String pic, String url, String weburl, String content) {
        this.title = title;
        this.time = time;
        this.src = src;
        this.category = category;
        this.pic = pic;
        this.url = url;
        this.weburl = weburl;
        this.content = content;
    }

}

